const menuRouter = [
    {
        path: 'welcome',
        name: 'welcome',
        meta: { title: '首页' },
        component: () => import('../views/system/Welcome.vue')
    },
    {
        path: 'user',
        name: 'user',
        meta: { title: '用户管理' },
        component: () => import('../views/system/user/Index.vue')
    },
    {
        path: 'menu',
        name: 'menu',
        meta: { title: '菜单管理' },
        component: () => import('../views/system/menu/Index.vue')
    },
    {
        path: 'role',
        name: 'role',
        meta: { title: '角色管理' },
        component: () => import('../views/system/role/Index.vue')
    },
    {
        path: 'dict',
        name: 'dict',
        meta: { title: '字典管理' },
        component: () => import('../views/system/dict/Index.vue')
    },
    {
        path: 'dict/data/:id(\\d+)',
        name: 'dictData',
        meta: { title: '字典数据' },
        component: () => import('../views/system/dict/DictData.vue')
    },
    {
        path: 'log',
        name: 'log',
        meta: { title: '系统日志' },
        component: () => import('../views/system/log/Index.vue')
    },
    {
        path: 'monitor/druid',
        name: 'druid',
        meta: { title: '数据源监控' },
        component: () => import('../views/system/monitor/druid/index.vue')
    },
    {
        path: 'patientInfo',
        name: 'patientInfo',
        meta: { title: '感染者信息' },
        component: () => import('../views/system/patientInfo/index.vue')
    },
    {
        path: 'components/treatmentInfo/:treatId',
        name: 'treatmentInfo',
        meta: { title: '患者治疗信息' },
        component: () => import('../views/system/patientInfo/components/treatmentInfo.vue')
    },
    {
        path: 'treatInfo',
        name: 'treatInfo',
        meta: { title: '所有患者治疗信息' },
        component: () => import('../views/system/patientInfo/treatInfo.vue')
    },
    {
        path: 'contactsInfo',
        name: 'contactsInfo',
        meta: { title: '密切接触者信息' },
        component: () => import('../views/system/contactsInfo/index.vue')
    },
]

export default menuRouter
